<!DOCTYPE html>	
<html>
<head>
        <meta http-equiv="Content-Type" content="text/html;charset = utf-8"/>
		<script src="js/jQuery.js"type="text/javascript"></script>
		<title>兰蔻新空气轻垫菁纯粉底液</title>
	    <style type="text/css">
		div.first{width:100%;height:450px;margin:30px;}
		.first div{float:left;}
		div.left{width:20%;height:450px;padding-left:50px;padding-right:50px;}
		img{width:50px;margin-right:5px;}
		#test{width:250px;margin-top:50px;}
		.alpha{opacity:0.4;}
		div.right{width:65%;height:450px;}
		.shuoming{color:gray;font-size:small;}
		p .span{color:black;font-size:big;font-size:large;font-weight:bold;}
	   .form1{position:absolute;top:330px;left:450px;}
	   .car{width:150px;height:30px;background:red;color:white;padding:5px;text-align:center;position:absolute;top:430px;left:550px;}
	   .car:hover{background:black;}
	   	   .form2{position:absolute;top:360px;left:450px;}
		   p.five{position:absolute;top:345px;left:500px;}
		</style>
		
</head>
<body>
<div class="first">
<div class="left">
<img id="test"  src="images/lang1.jpg"/><br/>
<div>
<img class='current' src="images/lang1.jpg"/>
<img class='current' src="images/lang2.jpg"/>
<img class='current' src="images/lang3.jpg"/>

</div>
</div>
<div class="right">
<h2>兰蔻新空气轻垫菁纯粉底液</h2>
<p class='english'>LANCOME ABSOLUE CUSHION COMPACT</p>
<p class='shuoming'>价值：999，优惠折扣：35%。</p>
<hr/>

<p class='shuoming'>价格：<span class='span'>&nbsp;&nbsp;&nbsp;&nbsp;￥650</span></p>

<p class='shuoming'>活动：
<span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
全场每买满1999元立减500元（部分商品除外）<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
购买任意MDCS 产品，即赠玛丽黛佳上瘾金属唇膏迷你装 308  1.4g，限量200份，赠完即止
</span>
</p>

<hr/>

<form class='form1' action="">
<select name="weight">
<option value="100" slected='slected'>13g 100</option>
<option value="110">13g 110</option>
<option value="130">13g 130</option>
</select>
</form>

<form action="" class='form2'>
<select class='select' name="num">
<option value="1" slected='slected'>1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</form>
<p class='five'>(每人限购5件)</p>

<div class='car'>加入购物车</div>

</div>


</div>


<script type="text/javascript">


$(document).ready(function()
{
  var number=0
 $('div img').addClass('alpha');
	   $('div img:eq(0)').removeClass('alpha');
	   $('div img.current').mouseover(function(){
	   var big_src=$(this).attr('src');
	   $('#test').attr('src',big_src);
	   $(this).removeClass('alpha').siblings().addClass('alpha');
	   });
 
 $('div.car').click(function(){
    var a=$('.select option:selected').val();
	alert('已加购'+a+'件');


 });



});

</script>
	   
	   

		

</body>
</html>
